package com.cuckoo.service;

import com.cuckoo.pojo.User;

public interface UserService {

    //增加一个用户
    Integer addUser(User user,String code) throws Exception;

    //根据用户名或者手机号码查找是否存在此用户
    User findUserByNameOrPhone(String info);
}
